package cn.itcast.bos.service.base;

import cn.itcast.bos.domain.base.Courier;
import cn.itcast.bos.domain.base.FixedArea;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by xbqco on 2018/7/16.
 */


public interface FixedAreaService {

    public Page<FixedArea> findAll(Pageable pageable);
    public void save(FixedArea fixedArea);
    public void update(FixedArea fixedArea);
    public Page<Courier> findNoAssociationCouriers(Pageable pageable,String id);

    public Page<Courier> findFixedAreaCouriers(Pageable pageable,String id);

    public void  associationCourierToFixedArea(String id,Integer[] courierIds);

    public void cancelAssociationCourierToFixedArea(String id,Integer[] courierIds);


}
